<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <title>个人信息- 千锋新闻</title>
    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/reset.css',_external=True) }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/animate.css',_external=True) }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/style.css',_external=True) }}">
    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/cityLayout.css',_external=True) }}">
    <link rel="stylesheet" type="text/css"
          href="{{ url_for('static',filename='css/lq.datetimepick.css',_external=True) }}"/>
    <script src="{{ url_for('static',filename='js/jquery.min.js',_external=True) }}" type="text/javascript"></script>
    <script src="{{ url_for('static',filename='js/jquery-migrate-1.2.1.min.js',_external=True) }}"
            type="text/javascript"></script>
    <style>
        .form-control {
            width: 200px;
            height: 30px;
        }
    </style>
</head>
<body>
<section class="headerwrap headerwrap2">
    <header>
        <div class="header2 header">
            <div class="top">
                <div class="wp">
                    <div class="fl"><p>服务电话：<b>33333333</b></p></div>
                    <div style="float: right;"><a href="{{ url_for("index.home") }}" style="color: white">回到首页</a></div>
                </div>
            </div>
            <div class="middle">
                <div class="wp">
                    <h1>我的个人中心</h1>
                </div>
            </div>
        </div>
    </header>
</section>
<section>
    <div class="wp">
        <ul class="crumbs">
            <li><a href="{{ url_for("index.home") }}">首页</a>></li>
            <li><a href="#">个人中心</a>></li>
            <li>修改密码</li>
        </ul>
    </div>
</section>

<section>
    <div class="wp list personal_list">
        <div class="left">
            <ul>
                <li><a href="{{ url_for("account.center") }}">个人资料</a></li>
                <li class="active2"><a href="{{ url_for('account.update') }}">修改密码</a></li>
                <li><a href="{{ url_for('account.store') }}">我的收藏</a></li>
            </ul>
        </div>
        <div class="right">
            <div class="personal_des ">
                <div class="head" style="border:1px solid #eaeaea;">
                    <h1>修改密码</h1>
                </div>
                <div class="inforcon" style="padding: 15px;">
                    <form class="perinform" id="jsEditUserForm" autocomplete="off"
                          action="{{ url_for('account.update') }}" method="post">
                        <ul class="right" style="margin-right: 28%">
                            <li>原&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;&nbsp;码：
                                {{ form.old_password }}
                                <i class="error-tips"></i>
                            </li>
                            <li>新&nbsp;&nbsp;&nbsp;密&nbsp;&nbsp;&nbsp;码：
                                {{ form.new_password }}
                                <i class="error-tips"></i>
                            </li>
                            <li class="sex">确&nbsp;&nbsp;认&nbsp;&nbsp;密&nbsp;&nbsp;码：
                                {{ form.enter_password }}
                                <i class="error-tips"></i>
                            </li>
                            {{ form.csrf_token }}
                            <li class="button heibtn">
                                <input type="submit" id="jsEditUserBtn" value="保存">
                                <p>
                                    {% for error in errors %}
                                        <span style="color: red;position: absolute;left: 10px">{{ error[0] }}</span>
                                    {% endfor %}
                                </p>
                            </li>
                        </ul>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
</body>
</html>
